<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>

<%@ include file="/core/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<%@ include file="/core/adminMeta.jsp"%>
	
	</head>
	<body>
		<div id="scrollContent">
			<div class="box2" panelTitle="代理会员" roller="true">
<form name="showTable" method="post" action="admin/member/memberLevelList.shtml">
<jodd:form scopes="request">
			<table>
				<tr>
					<td>用户名:</td>
					<td>
						<input type="text"  name="loginName"/>
					</td>
					<td>推荐人编号:</td>
					<td>
						<input type="text"  name="recommendLoginName"/>
					</td>
					<td>接点人编号:</td>
					<td>
						<input type="text"  name="fatherLoginName"/>
					</td>
					<td>注册人编号:</td>
					<td>
						<input type="text"  name="registerLoginName"/>
					</td>
					<td>注册级别:</td>
					<td>
						<select id="dailiId" name="dailiId" >
							<option value="">未选择</option>
						
							<option value="10">铜级会员</option>
						  	<option value="20">银级会员</option>
						  	<option value="30">金级会员</option>
						  	
						</select>
					</td>
					<td>代理级别:</td>
					<td>
						<select id="level" name="level" >
							<option value="">未选择</option>
							<option value="0">普通会员</option>
							<option value="10">普通代理</option>
						  	<option value="20">红钻代理</option>
						  	<option value="30">蓝钻代理</option>
						  	
						</select>
					</td> 
					<td>
						<button type="submit">
							<span class="icon_find">查询</span>
						</button>
					</td>
				</tr>
			</table>
</jodd:form>			

				<table class="tableStyle">
					<tr align="center">
						<th>账号</th>
						 
						<th>姓名</th>
						<th>代理级别</th>
						<th>推荐人</th>
						<th>接点人</th>
						<th>所在区域</th>
						<th>左区推荐代理人数</th>
						<th>左区普通代理人数</th>
						<th>右区普通代理人数</th>
						<th>左区红钻代理人数</th>
						<th>右区红钻代理人数</th>
					
					</tr>
	<c:forEach items="${pagination.pageList}"  var="o" >
					<tr align="center">
						<td>
							
							${o.loginName}
						 
						</td>
						
						<td>${o.personName}</td>
						<td>
							<c:if test="${o.level==0}">
								普通会员
							</c:if>
							<c:if test="${o.level==10}">
								普通代理
							</c:if>
							<c:if test="${o.level==20}">
								红钻代理
							</c:if>
							<c:if test="${o.level==30}">
								蓝钻代理
							</c:if>
						</td>
						
						 
						<td>
							
							${o.recommendLoginName}
							
						</td>
						
						<td>
							
							${o.fatherLoginName}
							
						</td>
						<td>
							<c:if test="${o.qu==1}">左区</c:if>
							<c:if test="${o.qu==2}">右区</c:if>
						</td>
						<td>${o.zuoTuiNum10}</td>
						<td>${o.zuoNum10}</td>
						<td>${o.youNum10}</td>
						<td>${o.zuoNum20}</td>
						<td>${o.youNum20}</td>
						
						 
					</tr>
	</c:forEach>
				</table>
		<page:pageControl />			
</form>
			</div>
		</div>
	<!--代码高亮end-->
	</body>
</html>